﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.U2D.SpriteChannelInfo
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

using System;
using UnityEngine.Bindings;

#nullable disable
namespace UnityEngine.U2D
{
  [VisibleToOtherModules]
  internal struct SpriteChannelInfo
  {
    [NativeName("buffer")]
    private IntPtr m_Buffer;
    [NativeName("count")]
    private int m_Count;
    [NativeName("offset")]
    private int m_Offset;
    [NativeName("stride")]
    private int m_Stride;

    public unsafe void* buffer
    {
      get => (void*) this.m_Buffer;
      set => this.m_Buffer = (IntPtr) value;
    }

    public int count
    {
      get => this.m_Count;
      set => this.m_Count = value;
    }

    public int offset
    {
      get => this.m_Offset;
      set => this.m_Offset = value;
    }

    public int stride
    {
      get => this.m_Stride;
      set => this.m_Stride = value;
    }
  }
}
